﻿namespace JunFan.Tests.UnitTests
{
    using System;
    using Domain;

    internal class When
    {
        internal static Item AddingItem(Item newItem)
        {
            return UnitTestContext.Board.AddItem(newItem);
        }

        internal static Item CompletingItem(int itemId)
        {
            return UnitTestContext.Board.CompleteItem(itemId);
        }

        public static Item CompletingItem(int internalId, DateTime completeDate)
        {
            return UnitTestContext.Board.CompleteItem(internalId, completeDate);
        }

        public static Item StartingItem(int itemId)
        {
            return UnitTestContext.Board.StartItem(itemId);
        }

        public static Item StartingItem(int itemId, DateTime startDate)
        {
            return UnitTestContext.Board.StartItem(itemId, startDate);
        }
    }
}